Use StringValuePtr rather than obsolete STR2CSTR for Ruby 1.9
Merge pull request #4 from tats/bug/str2cstr

Use StringValuePtr rather than obsolete STR2CSTR for Ruby 1.9