Fix dependency generation for real.