Added <time.h> include because some compilers complain