Support building with the upcoming Libav 10 release