Fix crypt.h check for FreeBSD