Fixed compilation with GHC 7.4.2