Fix compiling with base version < 4.6.0

Before base-4.6 catch was in Prelude which is conflicting with the
import of Control.Exception.catch
Merge pull request #1 from DanielG/master

Fix compiling with base version < 4.6.0