Update build script to uninstall priors.