cleaning up getpsbuild.ps1 a bit