Add implementation for ProcessSemaphore on windows