GCC 4.6 compatibility: use -std=c++0x instead of -std=c++11.