Fix a linux build regression in Session.h