Fixed mac compiler error.