lua51-lgi: Make sure to build & link agains Lua 5.1