Choose whether to use MSVC based on MSVC environment variable.