Define HAVE_AV_CONFIG_H when building test apps