Update batch_distances to avoid use of a header in apps/pilot/ Now that it's a public app, it can't rely on non-release (pilot) code.