To support MS C + + compiler.

Do not use unistd.h for MS C++ Compiler.