Fix dependency resolution.