fixed argument passing on win32