RE: compiling libraries with ghc