Fixed GHC 7.8.2 compilation