fix for time.h time_t on macosx.

fix for my fix on macosx not compiling due to time_t not being defined.