Fix time.h inclusion