Portability for FreeBSD