Fix MSVC 2012 64bits warnings