Add library dependencies.