Fix ffmpeg compilation