add back optional gobject support
on windows socket/threading is needed as there are no gobject, but those directly on linux would be suboptimal