Fixed incorrect var names in CMakeLists