Quick hack for FreeBSD.

Most of them are from Darwin.