Added basic OS detection to util