Fix common ugni Makefile.am for non-DSO builds.