Correcting a fatal compiler error in MSVC