You can compile the DLL from source, or you can just download it precompiled.
Download either dxgi.dll
or xinput1_3.dll
and place it into the Binaries/X64 folder of your game.
They're the same DLL with different names, since they can proxy as either.