Prepend LD_LIBRARY_PATH instead of redefining it
Remove unnecessary variables