Fix build on OS X

Use BinDeps.shlib_ext instead of hardcoding ".so"
Merge pull request #26 from simonster/shlib-ext

Fix build on OS X