Make ruby gcm compatible with MRI 1.8.7

:crying_cat_face: It's sad I still use 1.8 for some stuff.