Windows: add osi_TWaitExt(), fix osi_TWait()