W32: Allow shared libs to be built

This requires -no-undefined flag and resolving all dependencies at link-time by
linking plugins to libpeas and libpeas-gtk as needed.

https://bugzilla.gnome.org/show_bug.cgi?id=727499