Fixed Windows compilation issue