Only request C++11 when compiling C++ code.