Make all platforms except Win32 build static libraries

Previously, desktop platforms build dynamic libraries.
Ensure OSX binaries are also added to the "universal" platform