Fix build on Windows

patch by Paul Colomiets

I had to change `_gmtime_s` to `gmtime_s`.

fix #186