Fixes#6790
This fixes an issue that was introduced with #6545 where `build.cmd` would no
longer pass the `-restore` and `-build` arguments by default. Previously,
`build.cmd` also passed `-pack`, but that appears to be failing, so I've
chosen to leave that out for now.