configure: Check for -Wundeclared-selector