use C++0x standard to make it compile on gcc > 4.7

gcc 4.7 seems to issue an error when including cunistd, and not
specifying either C++11 or C++0x as standard.