Further fix for ffmpeg linking errors