Fix build for no session tracking.