Fix sysstat build.

(cherry picked from commit 597007f8b7cf60d4571b859adb3972292e2fa0ff)