Input method support on MacOSX