fixed cmake variable matching