Make cli compile under freebsd