Update nagiostats.c

bool operation did not work on RHEL 6.5