Merge "Define HAVE_STAT_ST_MTIM and disable it under MinGW/Cygwin." into gingerbread