BUILD: Use compiler given by wx-config to build GUI tools

This is needed to make sure we get a working executable. For example
on OS X 10.9 without this we get an executable that crashes before entering
main() because it links against libc++ but wx-widgets is built against
libstdc++. See bugs #15589 and #15618 on wx-widgets bug tracker.