Fix for compilatin on Mountain Lion.