fix cmake for APPLE