Fixed compilation of dependents tasks