switching from c++11 to c++0x standard automatically for older compilers