Add DYLD_LIBRARY_PATH tweaks for osx.