build: fix lua check to actually test for libquvi