Only apply dl.rb patch on Ruby 2.X.