Fix warnings, compatibility

- EAT_XCHAT wasn't exported by default resulting in failure ?