fix bug in CMakeList.