Fix stand-alone build of server