Back to specifying all libraries in LOCAL_LDLIBS.

This allows me to use --start-group and --end-group so that order
doesn't matter.