Added a check for C++11 support.