[GTK] Build error with -DENABLE_SPELLCHECK=OFF