Use wx-config for non-mingw.