Fix compilation on recent libav