Avoid warnings like:
warning: command-line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C