Update build script and add vendor folder to blacklist for PHPUnit.

Update build script and add vendor folder to blacklist for PHPUnit.