fix build failure on apiary-clientsession.