use -std=c++0x if -std=c++11 is not supported