Add version-stabilizing build_command cookie for hg-git.