build: Fix linker failure for gnome-shell-extension-prefs

In addition to 2dd7db480835e702f53623dbdb776e6aff63e08d