Add include for time().

This eliminates a warning when compiling with MinGW.