Latets mruby fixes

fixed code for latest mruby version and silenced some compiler warnings.