Fix installer on linux

fix int value compared (===) with string values
fix bz2 disttype to tar