Added CPP directives to avoid warnings.

For 'import Prelude hiding (catch)'.  catch is no longer in
Prelude starting with base 4.6.