fix name collision with gmtime_r on windows

mingw define its own gmtime_r function, tested with mingw 4.7.2