Changed OPENSSL_gmtime so macOS uses threadsafe gmtime_r instead of gmtime.