You can build your lib into a dll with /MT, instead of a static library, then UE can link with that dll.