Fix API calling consistency of GetVersionEx and wcstok.