[C++] Replace -Wc++11-extensions by -std=c++11

C++11 mode should be invoked using `-std=c++11` instead of `-Wc++11-extensions`, which gives warnings.

Source: http://clang.llvm.org/cxx_status.html