Compile `--without-lobby`. Consider that glooxwrapper can be built standalone using `build-shared-glooxwrapper` and thus sounds like it shouldn't have the config2 guard.
Notice that one can insert invalid cpp code to the glooxwrapper files if building `--without-lobby` so as to confirm that this file will be excluded in that case.
Notice that excluding the `#include` files also means that the source files can be distributed with the `source/lobby/` folder being erased, so there is advantage to having that excluded.