Get mercurial install working