Restrict test for -std=c++11 and -std=c++0x compiler flags to GCC and Clang.