build: enable BSD features visibility for FreeBSD