fixed glob compilation with vc12
Merge branch 'PHP-5.6'

* PHP-5.6:
  fixed glob compilation with vc12