Fixed compilation issue using GHC 7.6.3 on Mac OSX