Update dependencies and improved compatibility for Ruby 2.0