Fix compilation with cmake by including gui/dialogs/core_selection.cpp