use rb_str_new_with_class instead of setting klass
Merge pull request #48 from charliesome/ruby-2.1

Use rb_str_new_with_class instead of setting klass