Corrected errors in the CMake files