fix compile warnings.
modified it not to use gettimeofday() function.
Merge branch 'master' of https://github.com/treefrogframework/treefrog-framework