[gstreamer] fix build with newer apple flex

* Bug prevents apple's flex version information from being retrieved