fix cmake for 1 core