Remove getpid() which isn't present in WinRT