cmake warning fix