Adjusted autoload to allow for PHP < 5.3