fixing autoloader for PHP5.2 versions