extended-api-set part-2:  Fix FreeBSD 8 and later