Fix ext/intl build with phpize

Fixes bug #64284.
Fix ext/sockets build with phpize

Fixes bug #64285
Merge branch 'PHP-5.5'

* PHP-5.5:
  Fix ext/sockets build with phpize
  Fix ext/intl build with phpize