Fix autoloader.php path

The Composer checkout directory does not have to be called `vendor`. User can overwrite it. So instead of looking for the `vendor` dir, look for the `autoload.php` file directly.