add -std=c++11 to CXXFLAGS if applicable