Updated to work with base-4.7

I wasn't sure about whether this constituted a major, minor or patch version bump. Just a minor change so it works with the latest base and GHC.