Implement GetOrCreateLibrary in dependency manager.
Implement ZM_DependsOn in dependency manager.