Implement timegm for platforms not including it
Make WIN_CERTIFICATE declaration available in Windows