RakNet for UE4

I am trying to compile the plugin with 4.19 and I get the following error :

InterlockedIncrement identifier not found.

This is in LocklessTypes.cpp.

I noticed that the Windows includes were commented out in WindowsIncludes.h and this was causing InterlockedIncrement to go undefined. When I removed the comments I got the above error eventhough it was now defined. However This seems to be a 64 bit version and Raknet expects it to be 32 bit. Any idea whats wrong here ?

Thanks
Sanjit