Fixed compilation for PHP 5.4