Make isInterrupt work on GHC 7.8 (thanks to Simon Hengel)