Made magic_t data type for libmagic wrapper