Fixing build on MSVC

File unistd.h is only available on unix. It should be excluded from build when compiled with Visual Studio and MSVC toolset.