Fix compilation issue using ghc 7.6.3 and cabal 1.18 under mac osx