Include time.h in DataGenerator.cpp

This fixes building on MSVC.