Fix compiled name checks in pecl extension provider