Fixing build on windows with Visual Studio

Building project with Microsoft tools choke on this include file:<unistd.h> 
It should be excluded when compiled with Visual Studio compiler on MS OS.