check ostype for alias