point2dem: Fix mac compile problem