Bugs in Cmake file is modified