remove unused HAVE_UNISTD_H altogether; ref #865