Fixed a unified CMake file to build it all together