add libmagic as requirement