Fix check of existing PID for Windows (#8).