Removing Windows compilation warnings