[package] fix mercurial dependency against python, thanks KanjiMonster