A wrapper for libmagic with static build.