improve c++11 check