Fixing MinGW compilation: pid_t -> process_id_t