Fixed CMake variable in main CMakeLists.txt