fixed cmake var name bug