A re-implementation of build.sh for Windows ala PowerShell. This is as close to one-to-one that I could make it.