Adding library support to Cabal file