Makes required extensions composer.json required.