Adapt build config on Windows
Fix error with incompete conditions in check index relocations