small utility too get current OS