Smooth and Windows compilation