added support for FreeBSD 10