fix build error (offsetof from stddef.h not included)