build: use static instead of prototype in libavfilter fragment
build: fix missing prototypes in lua check fragment
build: fix lua check to actually test for libquvi
build: also run the test binary during the lua checks
build: remove unused mng fragment