fixed build errors with mono dll of wxwidgets in debug build