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

@lamont-granquist this should fix the breakage of omnibus-software. 

Can you give this a shot?