working on win32 support