AVALANCHE: Fix error not reported by MSVC