[Haskell-beginners] Compiling shared (dll) library