Fix missing libcommon.so library
Turn libcommon into a static library, similar to how it was with the
autotools build.
This makes gnome-settings-daemon installable again, and makes it
possible for other programs that BR gnome-settings-daemon-devel to
build again.