src/ffi: add the light_only FFI compiler