Fixed session agent build error