enable osmesa for wine (close #1228)