Prepare buildenv for composer.