added "#define LUA_USE_MKSTEMP" to remove the warning during execution :
the use of `tmpnam' is dangerous, better use `mkstemp'