Fix compilation on gcc => 4.7.0 by including unistd.h