Handling dependencies in gemspec