Work on FreeBSD ports support