fixed dependencies to work with jruby