Check for C++11 only on GCC and Clang