Fix some older libav versions