update CMakeLists.txt to fix CMake build