mingw: add missing time.h include