corrected prepare-for-mswin.bat