Fixed build with projects that don't link gui/widgets