as fileinfo extension embeds magic database, rebuild it during build