Tweak for FreeBSD compilation