patch applied (cabal): Check for ghc-options: -threaded in libraries