adding win32 support