fix time_t issue on cygwin
fixed linux compile issue
Merge pull request #92 from bbarker/time_t

Cygwin and time_t