get mac version from platform.mac_ver rather than shell