Compile external WX with C++11 if Linux.

Fixes PR #1545.