link to correct Lua library when several versions are installed