gl_generator: support passing in extensions
Merge pull request #106 from cmr/master

gl_generator: support passing in extensions