Cross platform system info support

Possible cross platform patch to fix https://github.com/google/nogotofail/issues/6