Remove third-party libs from the Unreal Engine

Hi,

is there any way to remove third-party libs from the unreal build enviroment?
I implemented a third-party lib that links the opus codec, which is already a part of the engine. Is it possible to remove unreal’s third-party libs in project settings or anything like that?

Please take note, that i have to use downloaded engine builds.

Thanks