Work around a RubyGems bug on 1.8