Use -std=c++0x instead of -std=c++11 for compatibility with previous GCC versions.