Use uname instead of OSTYPE