Fixed for Windows compilation.