initial updates for FreeBSD build