Replaced syscall.Kill with windows compatible implementation