use `lsb_release` to get distribution info if possible. fix CentOS7 detection