win32 support added