patch applied (cabal): Add --enable-shared as configure argument, and ghc-shared-options as .cabal field