fixes avutil.h detection in configure script