Fix saving name of the library for the MacOSX plateform
Merge pull request #14 from jeromegrosse/pull_request_13

Fix saving name of the library for the MacOSX plateform