gl_generator: support passing in extensions

Shouldn't this be `&&`?