autotools: fix shared library generation on *nix systems

Actually the shared library generated was an empty stub
Merge pull request #31 from hguemar/master

autotools: fix shared library generation on *nix systems