[libsmi] [patch] to fix MS build with nmake and gmake