Add autoconf test for timegm to set HAVE_TIMEGM appropriately. This resolves build...