Move the sys/personality.h import Mac can't do into portability.h. (Need to test this on FreeBSD too...)