Fixed Windows compilation in release mode.