Fix for FreeBSD 10, cf. https://github.com/ffi/ffi/pull/332