fix Assert class for PHP 5.2