Fixed va_list bug on Linux