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

It didn't work anyway.
Merge remote-tracking branch 'in4systems/ffi_port'

Conflicts:
	Gemfile