Uninstall hgdistver before building