configure: Store vda lib flags in extralibs instead of ldflags