Fix building with current git FFmpeg