The analytics build configuration has not been used or updated for a while. This removes some dependencies, and some deprecated code sections.