Build FFmpeg with patches