Add version check for MSVC 10