Fix "Not in scope: `catch'" error on ghc 7.6.2.