Adding missing include for time.h