Update CMake flag declarations in CMakeLists.txt file.