Wrap unistd.h include in HAVE_UNISTD_H check.