disable c++11 feature in case the compiler does not support c++11