build: Link to libshared.la instead of adding to SOURCES

libshared.la is just os-compat, the option and config parser, so let's
link to that instead of adding the os-compat files to all these targets.
1 file changed