separate shared schemes and tool names for 10.6 / 10.7
check & report errors; fix waitpid EINTR