Use MinGW sed if available on Windows

MinGW environment is also able to provide sed in Windows.