Fix ffmpeg detection