Fix gstreamer 0.10 build

Someone asked me to investigate an issue where the duration isn't showed on videos when using GStreamer 0.10. The first step is making ours build with 0.10 again.