exclude CreatePidFile() function on WIN32 as it is unused