Fix Windows compilation error