Don't check MSVC_VERSION if not building for Windows.

Change-Id: I45f39e92908c1e68470bf44e063f8a993934d457