Compile external WX with C++11 if Linux.

Fixes PR #1545.
Merge pull request #1569 from rohit-n/fix-1545

Compile external WX with C++11 if Linux.