Build on ruby head, jruby and rubinius