Use AM_CPPFLAGS instead of AM_CFLAGS.
Return empty string from gtk_im_context_cocoa_get_preedit_string.