Update CMakeLists.txt for the proper setting