Update cmake script.