Add auto build method for mruby