freebsd AF fix
freebsd constant fixes