Fixed bug in distro detection.