Add subspec's dependency.