Fix CompilationTask runs command even though sources are unchanged.

I have mistakenly tried to get `sm_mtime' from an object returned by
os.stat () instead of `st_mtime'.