Added version checking for Weechat definition.