r18460: split out timegm test and only add timegm.o when needed