Fix GWT compile errors