Changed g++ compiler flag from c++11 to c++0x