fixes to windows build scripts
removed logText usage because it was preventing the usb drive from being unmounted