And fix the CMake file.