Use ConfigureTask and ExtensionTask for the build.