haskell-ffi: add version that calls c