Fixing warnings about pointer comparison on Windows.