add mercurial as build dependency