Modify Gemspec to be compatible with Rails 4