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

In limited testing this seems to work. Caveat emptor.