Removed optional stats-related build logic that can't build
unless code is sitting in a repo.