fix cmake for linux