Fix Windows compilation in debug mode.