MacOS X library-path detection