Fix build against libav master.