fix cmake for mac