Added a __stdiowin with "WAIT" option in order to make