fix building ffmpeg