MSVC: fix compile errors due to macro redefinitions