Added missing time.h include