Fix segments/ostype.sh