Build libmagic from latest source (CVS), with Uforia Magdir modifications.

See github.com/MarcinKoziuk/Uforia-file. This also fixes CDFV2-corrupt mimetypes.