Find out how to enable -std=c++11 for .cpp only and not .m files.

Otherwise it says:
  error: invalid argument '-std=gnu++11' not allowed with 'C/ObjC'