[third party plugin sample] DLL is not installed after deleting binaries folder and rebuilding

Using the Third Party Plugin Sample, I have the following problem:

When I delete the “/Plugins/ThirdPartySample/Binaries”, and try to rebuild, the folder and contents of “/Plugins/ThirdPartySample/Binaries/ThirdParty/” are not generated again (I mean, the ExampleLibrary.dll is not deployed threre). Is this the expected behaviour?

For this to work, I had to add (at \Plugins\ThirdPartySample\Source\ThirdParty\ThirdPartySampleLibrary\ThirdPartySampleLibrary.Build.cs):

  RuntimeDependencies.Add(
    "$(PluginDir)/Binaries/ThirdParty/ThirdPartySampleLibrary/Win64/ExampleLibrary.dll",
    Path.Combine(ModuleDirectory, "x64", "Release", "ExampleLibrary.dll")
  );

I’m trying to understand the third party build system because my external module have many other DLL dependencies, and this is becoming a hell.