Update the CMake files so that chess compiles with the new cmake infrastructure.