A few fixes for ruby 1.9.3

On my computer those changes were needed to require the gem from another one through bundler.