fix cmake when nuke not installed