Hopefully fix build with the older wxWidgets use for old macOS.