fix WinMain, DllMain, Declaration::mangle() out invariant