Fixed cavern windows build with msvc