Fix an incompatibility with PHP 5.4