mac compile check