patch applied (cabal): move imports outside ifdef GHC