patch for mruby core by mrbgems

please see https://gist.github.com/wanabe/5267097
I welcome discussion.