Fix build for ghc v7.6.3