get rid of warnings on Windows
Lua: only use mkstemp() on non-Windows systems
Merge pull request #181 from gordon/windows

fix compilation for Windows