chore, add -shared to AM_MODFLAGS so static DSOs won't be built/installed

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'bld/dist' into next

* bld/dist:
  chore, add -shared to AM_MODFLAGS so static DSOs won't be built/installed