Add getos(), make distro detection less silly