Get it building with new ghc

And the new Exception types
Get it building on osx