Automatic Build Tool does not create additional LIB

I have a C++ unreal project in VS 2015 that uses two static LIBs. the libs are added to the UE solution after I generate the UE project files in the proper way.

I link the two libraries in the following way in my …Build.cs file:

        if (Target.Configuration == UnrealTargetConfiguration.Shipping)
        {
            PublicAdditionalLibraries.Add(@"C:/Data/Mikaboshi2/UnrealProjects/Client/x64/Shipping/NOGLibrary.lib");
            PublicAdditionalLibraries.Add(@"C:/Data/Mikaboshi2/UnrealProjects/Client/x64/Shipping/SHARED_DATA_LIBRARY.lib");
        }
        if (Target.Configuration != UnrealTargetConfiguration.Shipping)
        {
            PublicAdditionalLibraries.Add(@"C:/Data/Mikaboshi2/UnrealProjects/Client/x64/Development_Editor/NOGLibrary.lib");
            PublicAdditionalLibraries.Add(@"C:/Data/Mikaboshi2/UnrealProjects/Client/x64/Development_Editor/SHARED_DATA_LIBRARY.lib");
        }

this works OK in the DevelopmentEditor configuration. The UE build system creates the two libraries before the UE project and then links.

However when I create a shipping build from inside the editor with Files/PackageBuild the UE build tool only compiles the UE project, not my additional libraries.

When I compile shipping first from VS and then run the DevelopmentEditor build and do a package from there, it seems to work because it uses the two lib files that I built manually.

I want the autobuld tool to build these two libraries for me like it does when I run from VS. How can I do that?

Thanks

Does anybody have an answer here?