fix libav building bug