Include sys/types.h before including node.h