rework dlsym; use dlsym for libglhost