checking compiler version for c++11 support