Include time.h in DataGenerator.cpp

This fixes building on MSVC.
Merge pull request #498 from mstorsjo/add-missing-include

Include time.h in DataGenerator.cpp