Change to use CMake as build system