Load libGL at runtime with dlopen & use own glx.h

We now load libGL at runtime so we can give something approximating a
nice error message. Also start using our own glx.h to avoid the build
dependency on the system's big ugly glx.h.