Optimize the composer_autoload check
E_DEPRECATED is not available in PHP 5.2