LibFFI ported for NaCL