better distro detection stuff