Fixed GHC 7.6 compilation issue