patch applied (cabal): fix #if __GLASGOW_HASKELL__ test