Revert "Revert "fix for build on ruby 2.0.0""

This reverts commit a951af7aedfbdffe0091e8e154624e330a3caed7.