add macro to manage MSVC runtime