Fix build on GHC-7.0.4