improve error message when c++11 compiler is not available - refs #2376