change cabal to library plus executable