Marking this as a draft for now. Older glibc versions require `_GNU_SOURCE` to be defined to expose `vasprintf()`. Wine's `config.h` does define that, but the `flex`-generated files include `stdio.h` before we can include `config.h`. Not sure there's a way to fix that other than through compiler flags, and that's not worth the trouble for this.
I'll revisit this once the build environment is on a newer glibc.