LOOM-1815: Fix for Windows build