make Mac-specific changes build on other platforms since wxWindows does not deal with that itself *sigh*