fix(msvc): fix build and iter check under VC10

Still have 2 warnings not fixed.