Support optionalDependencies