detect windows, otherwise assume linux