Fix compilation without C++11.

va_copy is a C++11 thing.