Fix text anti-aliasing in windows build