Implement generation for EGL and GLX

When you generate bindings for EGL, you need to define some platform-specific types at the same level as the macro call.

Close #152 Close #134