On macOS, we want to use `mkstemp` rather than `tmpnam`. Enable POSIX support in Lua to fix that (and some other things). Since POSIX support also enables the flag for POPEN, we no longer need to do that directly for Linux.