automated distro detection