improved os detection
fixed os detection and added more linux distros