Try many possible values to use for $(LUA) variable before giving up