Add -std=c++11 for standalone build.