CMake Error in CMakeLists.txt: Target "foo" requires the language dialect "CXX11".*