modify FreeBSD support