Add target-dir to composer.json.