Adapt -fno-rtti compiler option for MSVC