add workaround for rubygems/rubygems#763