GrahamA: make build smarter about recognising internal ci builds.