Use time.h for windows