Add #include <stddef.h> which is needed for older swig versions (e.g. 1.3.40)