Fix checks for hg/autoconf in vcprompt.sh