MSVC 64 bit warnings fixed