Fix specs to work with RubyGems 2.x