build: Detect Lua in Debian systems

Debian packages lua pkgconfig file as lua5.2.pc, instead of plainly lua.pc.

https://bugzilla.gnome.org/show_bug.cgi?id=725299