mod/os: fixed linux distro detection