fix for time_t.h on macosx.