make ruby bindings compile with newer ruby versions ... fix for #217