Added time.h on windows systems