fixing /W4 warnings for x64
more /w4 updates