Simplify some stuff for telling the difference between mac and linux