Compiling UE4 with /MT (statically link C runtime)

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