Fix pre PHP 5.4 Compatibility Issue