fix build error using libav