Remove requirement on libmagic