Fix build error and warnings in Fedora 18.

BUG=None
TEST=Manual

Review URL: https://codereview.appspot.com/7531047
Draw highlight for focused IME in IME switcher.

BUG=None
TEST=Manual

Review URL: https://codereview.appspot.com/7689046