AnvilStats: Rewritten to use CMake.