Fix configure

Searching for an Objective-C compiler within a case makes autoconf
generate code that fails in interesting ways.