Fix more win32 warnings
Avoid duplicate va_copy definition under VS2013
Fix 64-bit warnings in blame code