Changing STR2CSTR to StringValuePtr for compatibility with Ruby 2.0