Use RSTRING_LEN instead of _LENINT which isn't present on 1.8.7

Fixes #30