Use standard st_mtime instead of st_mtim.tv_sec
Unused variables
Merge pull request #25 from arsv/master

st_mtime fix and remove unused variables