getpid() fix for Win32
2 files changed