Fixed compilation on Mac.