fix CMakelists.txts