fix cmake lib