edited cmake files to fix compile symbol error