Enable c++11 mode for older GCC versions