Fix build for ruby 2.0

[#59349950]

Signed-off-by: Stephan Hagemann <stephan@pivotallabs.com>