better code for (DY)?LD_LIBRARY_PATH