Added win32 support