updates the project to be compiled with cmake without errors