Ld library path
Fix bugs related to LD_LIBRARY_PATH where first it would overwrite the original search path instead of just prepending to it, and it was accessing thead local memory which is not initialized until the end of ld.so.
Fix bugs related to LD_LIBRARY_PATH where first it would overwrite the original search path instead of just prepending to it, and it was accessing thead local memory which is not initialized until the end of ld.so.