No more compile warnings! A completely clean build on my system! Wrapped all the unistd.h includes with #ifdef HAVE_UNISTD_H. Seems like there is more, but that looks like it..