[windows] improve windows build scripts to produce correctly behaving qtc.