Use MinGW sed if available on Windows.