Build fails on latest dev version of php (https://github.com/php/php-src/commit/1f863399d539b1bb090c281a4b9e04209540be6b) because of ZEND_ACC_CTOR was removed. This should probably be removed from the code?