Modified the project to use cmake in addition to the makefile.