try to fix detection of wx-config for fedora