Fix compiler warning.
Added error message in case a not-yet-supported platform tries to report
memory or #procs.