fix macro redefinition error in vs2010