added support for win32