Add support for PHP 5.4.24 and 5.5.8.

There is a compilation issue with 5.3.28 and ZTS.