Rework last changes about LD_LIBRARY_PATH issue