fix reference to STDOUT_FILENO on MSVC The Microsoft Visual C++ compiler doesn't have unistd.h and thus STDOUT_FILENO is undefined. Define it using stdio.h functions.