Include unistd.h for OS X, since OS X doesn't have crypt.h.