Gtk & Qt UI: fix for build
Core: fix for build