Avoid kill() on systems that do not have it.