Detect correct linux version for Debian, make detection of linux versions more relax