Fix for Windows compilation