Pass -std=c++11 instead of -std=c++0x