Fix driver resolution on newer versions of Ruby