Fix to correctly brake search for wx-config when first found in config.m4 file.