CXX-204 Use vendored timegm implementation if platform does not offer it