removed -lmagic for release