Fixing mistake sneaked in #3371

`__time_t` is not defined in MinGW. My spider sense should've tingling on double underscore prefix which usually means for internal purposes only.