Fix warnings on a non-cray system
CRAY - fix memory issue with task/cray plugin