Fix build on OS X

Use BinDeps.shlib_ext instead of hardcoding ".so"