Support for dynamic libs in relative path locations on Mac OS X