Add a new configure-common.sh for windows builds.