forgot to surround lua_setup with #ifdef HAVE_LUA