Extend the shared library example

The shared_lib example now use the foo and bar libraries, bar has minor, major and compatibility version, there is also a exe that link towards them.