Fix build with GHC 7.7

Please apply and release. Thanks!