Ported fixes for intl and opcache extensions.