correct line endings on Shell/Console for Win32 patch