add sw_vers for mac