Improve flexibility of dependencies' locations on OS X

This PR might break the installation procedure of bindings (especially if it involves using `install_name_tool` to "fix" paths). But it should not be insurmountable.

Anyway, this fixes `feature/unittest` and is required for working on `feature/no_libsndfile`.