targets/libgl-xlib: fix the build against shared_glapi