Changed compiler option -std=c++11 to -std=c++0x

For older versions of gcc.