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