Handle dependencies in the gemspec