Use the constant for error size
Don't put gem 'ffi' in the code.

It didn't work anyway.