Do not look for glib if clsync will not be built.