make the C++11 compiler settings a bit more generic

C++0x is also detected