Gstreamer detection

Fixed build on mac. Detection should now work properly on all supportes platforms where gstreamer is available.