Remove some pointless configure checks

Speeds up configure by about 10%.
Fix compilation with UTF-8 wxString