fix for newer ruby
fix tidy_ffi call