diff --git a/src/plugins/autotoolsprojectmanager/autotoolsprojectplugin.cpp b/src/plugins/autotoolsprojectmanager/autotoolsprojectplugin.cpp
index d16a9cdd741c449c612878fc18bba413af072c6b..f8389b6c3728939aa6298060ed64e76be2cd91b8 100644
--- a/src/plugins/autotoolsprojectmanager/autotoolsprojectplugin.cpp
+++ b/src/plugins/autotoolsprojectmanager/autotoolsprojectplugin.cpp
@@ -67,7 +67,6 @@ bool AutotoolsProjectPlugin::initialize(const QStringList &arguments,
         return false;
 
     addAutoReleasedObject(new AutotoolsTargetFactory);
-    addAutoReleasedObject(new AutotoolsBuildConfigurationFactory);
     addAutoReleasedObject(new MakeStepFactory);
     addAutoReleasedObject(new AutogenStepFactory);
     addAutoReleasedObject(new ConfigureStepFactory);
diff --git a/src/plugins/autotoolsprojectmanager/autotoolstarget.cpp b/src/plugins/autotoolsprojectmanager/autotoolstarget.cpp
index 3cb86856bf363fa91bdf716568af20794fb27705..ea93603cb2395bf2813def2db65a3b441229be18 100644
--- a/src/plugins/autotoolsprojectmanager/autotoolstarget.cpp
+++ b/src/plugins/autotoolsprojectmanager/autotoolstarget.cpp
@@ -146,7 +146,7 @@ AutotoolsTarget *AutotoolsTargetFactory::create(Project *parent, const QString &
     AutotoolsTarget *t = new AutotoolsTarget(project);
 
     // Add default build configuration:
-    AutotoolsBuildConfigurationFactory *bcf = ExtensionSystem::PluginManager::instance()->getObject<AutotoolsBuildConfigurationFactory>();
+    AutotoolsBuildConfigurationFactory *bcf = t->buildConfigurationFactory();
     AutotoolsBuildConfiguration *bc = bcf->createDefaultConfiguration(t);
     bc->setDisplayName("Default Build");