Fix PowerShell build script