Use -std=c++11 flag instead of -std=c++0x and therefore require at least gcc 4.7