Support to build with Ruby 2.2.0

I fixed to build fail with rb_str_new macro usage. ref. https://github.com/flori/json/issues/229