Fixed a warning.
Fixed compilation on Mac platform.