Changed C++11 flag to be compatible with GCC 4.6