To resolve the issue with the bootstrap file generation,
php composer update --no-scripts

php vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php