Fixed build on PHP >= 5.5

The changes fixes the build on PHP 5.5, where zend_execute_ex was introduced to replace zend_execute, which become a function.