improve defines; add client glXGetProcAddress