Stop linking widgets.o into the shared library.