Added some cache variables to main CMakeLists.txt