[Haskell-beginners] "Segmentation fault/access violation" when working with FFI