gettimeofday fixed
Merge pull request #15 from YaroslavLitvinov/time-fix

gettimeofday fixed