allowfor g++ -std=c++0x compilation