fix heap overflow warnings on win x64 debug crt