The gloox API has changed.
iChat-GW doesn't compile with the latest API distributed in Linux systems such as Debian.
Therefore, we need to:
a) identify the version to be supported
b) copy it into the contrib folder for Windows builds
c) adapt the apps/ichat-gw code to use the new API
Balram has worked on this as part of GSoC 2016