Fix issue #349. Properly check for special test/package targets in build.cmd to force bu...

...ild of library first.

master<->master compare as I was not able to create a topic branch in main repo as per [guidelines for contributing](https://github.com/octokit/octokit.net/blob/master/CONTRIBUTING.md). Apologies.