Fix assert for systems that do not have mstats()