Fix for FreeBSD 10