Fix on FreeBSD 10+
PR: ports/162497 Submitted by: Boris Kovalenko <boris@tagnet.ru> (maintainer) Feature safe: yes