fix compatibility on OS X by adding an include

va_start / va_end are in <cstdarg> which wasn't included.