[GUI] Fixing compilation errors for win32.