[SystemInfo] Use new C++ wrapper in common/extension.h