Use fine-grain dependencies in buildPackageDependencies.