cleanup wx detection
reduce linked wx libs