Add dependencies and fixes gemspec warnings