additions for FreeBSD