Make the C++11 check faster