Fixed Windows compilation failure