Replace console window for Win32