make Setup and base.cabal suitable for building the libraries with GHC