va_list fix for win64
Merge pull request #2199 from yebblies/valisttype

Do not make assumptions about the type of va_list (win64 edition)