Convert build-tools to PowerShell. Note the use of full paths for dotnet's output directory: https://github.com/dotnet/cli/issues/10550