Fix build for distributed session cache