make wine registry optional