Properly check for special test/package targets in build.cmd to force build of library first.