This is done by compiling the update-mime-database tool for the build machine, so it can be run there.