Looks like NINJAM uses WDL JNetLib. The JNetLib client is broken when building with VS2017+. A commit from 2014 prevents constants used by the JNetLib client from being set to expected values if they already defined–which they are since VS2017. Try applying this patch to latest WDL:
https://github.com/cfillion/WDL/comm...b4e4465e.patch.