Fix an issue with source file groupings in the CMake build.