fix path to libmagic file