Implement a warning message when building an dynamic library .so, .dll or a .dylib, which are currently not supported. Closes #2562.
Merge pull request #2720 from juj/warn_dylibs

Implement a warning message when building an dynamic library .so, .dll o...