LatinIME: Fix build in ISO C++11 mode

Change-Id: Ic83497986d61c90546102c551acc5dca56465fd4
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Add workaround for SW keyboard not opening in gcc 4.8 based builds

Change-Id: Ic75ff0f898ee79da37005a7dd529e6569a2b10c4
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>