Re-write the Cmake config