Changed compiler flags from c++11 to c++0X