Fix astman build on FreeBSD (bug #2119)