Fix mysqli build when building against libmysqlclient.
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fix mysqli build when building against libmysqlclient.