Check alternate Lua pkg-config package names

BSD seems to have a different package name for Lua 5.2 than Linux.