Make tests run on ruby 1.8.
Merge pull request #5 from Zeeraw/feature/mri-1.8.7-comapitble

Make ruby gcm compatible with MRI 1.8.7