Make main-stats compile