Switch gempsec to support ffi 1.3.1