add support for win32 gui