Resolve library dependencies.