Test auto detection of LUA_LIBDIR.