simplify/improve code for importing binary rubies (jruby/rbx usecase)