trying to improve the way we detect init system