Fixes for mruby