Fixed ifdef for HAVE_LUA condition