actually build session.c