Can be moved into if(MSVC) block below.