Fixes so that it now builds on Linux against wxWidgets 2.9