update configure with ffmpeg version detection