handle catch importing for ghc < 7.6.0