Fixed compilation with GHC 7.6.3