Don't stat dated dependencies when calculating restat_mtime