Fix mac compilation errors.