Add capability for building with -gsplit-dwarf to the cmake build.