enable compilation with ghc-7.6
import Control.Exception for catch and give SomeException explicitly type
for argument
Fix compilation on 7.4 again