Add a new target for Mac shared library
Introduce weak linking (on Mac) delay loading (on Windows) of dependent libraries to avoid explicit loading of libraries and symbols
Visual Studio was complaining about an uninitialised variable. It wasn't, but make it clearer to Visual Studio too
Modifications to fix some Windows warnings
Change a macro to fix Visual Studio build
FIx a compilation error with recent compilers
With the command-line version it is posible
Modifications to fix some Windows warnings