Using a proper build system (CMake)