build/win: Improvements to checkversions.sh

checkversions.sh now:
 * No longer needs a build output directory to run
 * Has comments
 * Filters out irrelevant results