gl: define flags via CPPFLAGS so cgo gets them too