fix cmake warning