Switched to using powershell and a better build script.