WinCE: add replacement getpid() function