added conditional compilation guards for unistd.h (ifndef OS_WIN) (issue #7)