Windows: fix warnings when compiling with MinGW 64-bits