TriniChat2

Signed-off-by: Bezo <BezoCCCP@gmail.com>
fix Trinitychat complie errors (at least on win system).