Fix Iterator for Visual Studio and other compilers