Fix for compiling client and server and client without ims with server+s...

...wig

Small fix after philip come back on compilation