patch for cygwin + template