fix compilation on mruby 1.0.0.