The --without-lobby flag from rP14098 and rP14113 doesn't exclude all lobby code that it could.
But the expected behavior is that if the flag is passed, that there will be hard compile errors if some author referred lobby code but lobby was not meant to be built.
The patch arose from D2271 which adds glooxwrapper ToJSVal conversions in lobby/scripting/ and thus must either add the macro or drop the folder, and the latter seems more like what was ordered.