Update CMakeLists.txt and remove build files from tracking.