add win32 support