CMake Error in CMakeLists\.txt: Target "foo" requires the language dialect "CXX11" \(with compiler extensions\).*