Fix wxWidgets OSX patch bug when configured for monolithic build. (fixes lp:1387271)