Fixed all of dem cmake files. However, src/sys files are not done yet.