gl_generator now usable as stand-alone

Fix  #130 #133

The examples probably compile (for me they fail in the linker because of `could not find glfw3`), but it would be nice if someone could check that they run correctly.