Add missing stat.h dependency to properly compile on RHEL6

There is a missing dependency in the new tests which prevents istatd from compiling on RHEL6