Fix for mac compile.