compile 'total memory info' only for linux