Remove timegm replacement, it is only used in Linux-only code