core: restore the old DYLD_LIBRARY_PATH specifically
core: set the DYLD_LIBRARY_PATH before other env vars