added path.c to CmakeList.txt