Fix leofs-adm to work on FreeBSD