Fixed compiling of the FFI code