Bug fix in dependency generation.