Fix MAP_ANONYMOUS for FreeBSD in lib/small