D: Fix dependency tracking for upstream changes

cmTarget::GetSourceFiles takes an extra parameter now