Add stdarg.h to fix issues with va_start.