build hg