fix compiling ffmpeg and avconv