Fixed compilation on Win32. Fixed issue with duplicate messages appearing