Fix tests and remaining references to FreeBSD 9.x.