favour c++11 if ENABLE_CXX11 is given