modified build for FreeBSD 11.0-CURRENT