Check the platform for the Cygwin Git workaround so it only happens on
Windows.