Use -std=c++0x instead of -std=c++11 to support GCC 4.6.3 (Ubuntu 12.04 LTS)