Linking chat.lib