include time.h when working in Windows