Update OS detection to possibly fix incorrect Linux detection