Fix C++11 detection.