sw_vers only works on os x