fixed to compile with ruby19

Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>