CMake error fixed