fixed CPU detection of macos