patch applied (cabal-branches/cabal-1.10): "Get extra gcc and ld flags from GHC" and 2 others