Core/Chat: Fix build