Windows patches

Minor changes to ensure these scripts can be run on under the SourceTree terminal app on Windows where:

* `rev` isn't available (uses `${`basename $CONFERB`%.erb}` instead)
* `wget` isn't available (uses `curl` instead)
* `make` isn't available (installs make for windows)