get macos system info the sane way