Add support for mruby.

Resolves #9.