Hack around GHC 7.7 compilation failure