Removed unnecessary unistd.h include so that this can be built on Windows.