Add missing platform header for HP-UX.

The code compiles without it, but gets the wrong definition of stat
on HP-UX
Merge pull request #1128 from kacfengine/master

Add missing platform header for HP-UX.