Implement <sys/unistd.h> compatibility.
Update default environment variables and argv[0].
Merge pull request #2565 from sunfishcode/incoming

Incoming