Add support for LD_LIBRARY_PATH_ELEMENT and PATH_ELEMENT