Print error log when checking for c++11 fails