More tweaks to get mri and jruby happily connecting to the db