[General][Windows] Fix run form DOSSHELL.
[Windows][Build] Adjust optimize flags.