AVALANCHE: Fix MSVC warnings in lucerna2