fixed bug in CMakeList